package com.xuyuanjia.web.tool.entity;

/**
 * 
 * @类描述：	  zTreeNote
 * @项目名称：memorys
 * @包名： com.xuyuanjia.web.tool
 * @类名称：TreeNode
 * @创建人：XuYuanJia
 * @创建时间：2016年9月10日上午8:05:13
 * @修改人：XuYuanJia
 * @修改时间：2016年9月10日上午8:05:13
 * @修改备注：
 * @version v1.0
 * @see [nothing]
 * @bug [nothing]
 * @Copyright go3c
 * @mail *@qq.com
 */
public class TreeNode {  
    private Long id;  
    private Integer pId;  
    private String name;  
    private Boolean checked;  
    private Boolean open;  
    /** 
     * @return the id 
     */  
    public Long getId() {  
        return id;  
    }  
    /** 
     * @param id the id to set 
     */  
    public void setId(Long id) {  
        this.id = id;  
    }  
    /** 
     * @return the pId 
     */  
    public Integer getPId() {  
        return pId;  
    }  
    /** 
     * @param id the pId to set 
     */  
    public void setPId(Integer id) {  
        pId = id;  
    }  
    /** 
     * @return the name 
     */  
    public String getName() {  
        return name;  
    }  
    /** 
     * @param name the name to set 
     */  
    public void setName(String name) {  
        this.name = name;  
    }  
    /** 
     * @return the checked 
     */  
    public Boolean isChecked() {  
        return checked;  
    }  
    /** 
     * @param checked the checked to set 
     */  
    public void setChecked(Boolean checked) {  
        this.checked = checked;  
    }  
    /** 
     * @return the open 
     */  
    public Boolean isOpen() {  
        return open;  
    }  
    /** 
     * @param open the open to set 
     */  
    public void setOpen(Boolean open) {  
        this.open = open;  
    }  
    public TreeNode(Long id, Integer pId, String name, Boolean checked, Boolean open) {  
        super();  
        this.id = id;  
        this.pId = pId;  
        this.name = name;  
        this.checked = checked;  
        this.open = open;  
    }  
    public TreeNode() {  
        super();  
    }  
}  